package com.wssnail.leaf.core.segment.model;
/**
 * Leaf算法ID分配实体诶
 *
 * @author liuxb
 * @date 2022/10/9 17:23
 */ 
public class LeafAlloc {
    /**
     * 业务标识
     */
    private String key;
    /**
     * 最大ID
     */
    private long maxId;
    /**
     * 步调
     */
    private int step;
    /**
     * 修改时间
     */
    private String updateTime;

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public long getMaxId() {
        return maxId;
    }

    public void setMaxId(long maxId) {
        this.maxId = maxId;
    }

    public int getStep() {
        return step;
    }

    public void setStep(int step) {
        this.step = step;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
}
